package router

import (
	"github.com/gin-gonic/gin"
	"likeadmin/scyMachine"
)

//var scyModuleName = "scy"

func SetScyMachineRouter(r *gin.Engine) *gin.Engine {

	r.POST("/"+scyModuleName+"/createScyMachine", scyMachine.CreateScyMachine)
	r.POST("/"+scyModuleName+"/updateScyMachine", scyMachine.UpdateScyMachine)
	r.POST("/"+scyModuleName+"/deleteScyMachine", scyMachine.DeleteScyMachine)
	r.POST("/"+scyModuleName+"/getScyMachineList", scyMachine.GetScyMachineList)

	return r
}
